<?php
mysql_connect("localhost","root","");
mysql_select_db("susudo");
$query="SELECT * FROM `users` WHERE username='sample' and password='pass'";
$result=mysql_query($query);

echo "number of rows returned : ".mysql_num_rows($result)."<br/>";

  while ($row = mysql_fetch_assoc($result)) {
echo "hello ".$row['username']." !"."</br>";
echo "Your password is ".$row['password']." !"."</br>";
echo "Your email is ".$row['email']." !"."</br>";
}

mysql_close();
?>